<?php
  define('PAY_SECRET','F3SUwW6ImFlWzzC4a5Cq');
  function checkSession() {
    return ($_GET['auth_key']==md5($_GET['api_id'].'_'.$_GET['viewer_id'].'_'.PAY_SECRET));
  }
?>